<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>x的平方根</title>
	</head>
	<body>
		<script>
//			var x = 4;
			var x = 10;
            function show(number){
            	var a = Math.sqrt(x);
            	var b = a.toString();
            	var c = parseInt(b);
//          	console.log(c);
            	return c;
            }
            console.log(show(x));
		</script>
	</body>
</html>
